#include <iostream>
#include <iomanip>
using namespace std;

int main(){
    int a, b;
    for (b = 1; b <= 9; b++) {
        for (a = 1; a <= b; a++) {
            cout << a << "*" << b<< "="<< setw(2) << a*b << " ";
        }
        cout << endl;
    }
    return 0;
}